/*
 * language.h
 *
 *  Created on: 29-Apr-2009
 *      Author: catchthealien
 */

#ifndef LANGUAGE_H_
#define LANGUAGE_H_

#include <string>
#include <iostream>

namespace cta {

class language {
private:
	std::string LanguageFileName;
	std::string Language;

public:
	language();
	bool Init();
	bool Init(std::string &FileName);
	std::string Get(int index, char* Text);
	std::string Get(std::string& language, int index, char* Text);

	virtual ~language();
    static language& l() {
        static language singleton;
        return singleton;
    }
};

}

#endif /* LANGUAGE_H_ */
